﻿using Serilog;

namespace WebApiSampleTemplate.Extensions.Configs
{
    public static class ServicesConfigure
    {
        public static void Configurations(this WebApplicationBuilder builder)
        {
            // builder.Services.AddSingleton<IIoTDABridgeService, IoTDABridgeService>();
            // builder.Services.AddSingleton<IOCPP16Service, OCPP16Service>();
            // builder.Services.AddSingleton<IPileService, PileService>();
            // builder.Services.AddSingleton<IStatisticsService, StatisticsService>();
        }

        public static void ConfigureServices(this WebApplicationBuilder builder)
        {
            builder.Services.AddControllers();

            builder.Host.UseSerilog();
        }
    }
}
